<?
/**
 * <b>ProductSearchType Class</b>
 * Published 04/11/2010 19:00:36
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('PaginationType.php');
require_once('CharacteristicSetIDsType.php');
require_once('SearchAttributesType.php');
require_once('ExternalProductIDType.php');

class ProductSearchType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var int $AttributeSetID
	public $AttributeSetID;
	// @var boolean $AvailableItemsOnly
	public $AvailableItemsOnly;
	// @var CharacteristicSetIDsType $CharacteristicSetIDs
	public $CharacteristicSetIDs;
	// @var ExternalProductIDType $ExternalProductID
	public $ExternalProductID;
	// @var int $MaxChildrenPerFamily
	public $MaxChildrenPerFamily;
	// @var PaginationType $Pagination
	public $Pagination;
	// @var int $ProductFinderID
	public $ProductFinderID;
	// @var string $ProductID
	public $ProductID;
	// @var string $ProductReferenceID
	public $ProductReferenceID;
	// @var string $ProductSearchID
	public $ProductSearchID;
	// @var string $QueryKeywords
	public $QueryKeywords;
	// @var SearchAttributesType $SearchAttributes
	public $SearchAttributes;
	// @var int $SortAttributeID
	public $SortAttributeID;
 /** End Properties **/

/**
 *
 * @return int
 */
	function getAttributeSetID(){
		return $this->AttributeSetID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAttributeSetID($value){
		$this->AttributeSetID = $value;
	}


/**
 *
 * @return boolean
 */
	function getAvailableItemsOnly(){
		return $this->AvailableItemsOnly;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAvailableItemsOnly($value){
		$this->AvailableItemsOnly = $value;
	}


/**
 *
 * @return CharacteristicSetIDsType
 */
	function getCharacteristicSetIDs(){
		return $this->CharacteristicSetIDs;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCharacteristicSetIDs($value){
		$this->CharacteristicSetIDs = $value;
	}


/**
 *
 * @return ExternalProductIDType
 */
	function getExternalProductID(){
		return $this->ExternalProductID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setExternalProductID($value){
		$this->ExternalProductID = $value;
	}


/**
 *
 * @return int
 */
	function getMaxChildrenPerFamily(){
		return $this->MaxChildrenPerFamily;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMaxChildrenPerFamily($value){
		$this->MaxChildrenPerFamily = $value;
	}


/**
 *
 * @return PaginationType
 */
	function getPagination(){
		return $this->Pagination;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPagination($value){
		$this->Pagination = $value;
	}


/**
 *
 * @return int
 */
	function getProductFinderID(){
		return $this->ProductFinderID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setProductFinderID($value){
		$this->ProductFinderID = $value;
	}


/**
 *
 * @return string
 */
	function getProductID(){
		return $this->ProductID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setProductID($value){
		$this->ProductID = $value;
	}


/**
 *
 * @return string
 */
	function getProductReferenceID(){
		return $this->ProductReferenceID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setProductReferenceID($value){
		$this->ProductReferenceID = $value;
	}


/**
 *
 * @return string
 */
	function getProductSearchID(){
		return $this->ProductSearchID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setProductSearchID($value){
		$this->ProductSearchID = $value;
	}


/**
 *
 * @return string
 */
	function getQueryKeywords(){
		return $this->QueryKeywords;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setQueryKeywords($value){
		$this->QueryKeywords = $value;
	}


/**
 *
 * @return SearchAttributesType
 */
	function getSearchAttributes(){
		return $this->SearchAttributes;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSearchAttributes($value){
		$this->SearchAttributes = $value;
	}


/**
 *
 * @return int
 */
	function getSortAttributeID(){
		return $this->SortAttributeID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSortAttributeID($value){
		$this->SortAttributeID = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("ProductSearchType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"AttributeSetID"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"AvailableItemsOnly"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CharacteristicSetIDs"=>
					array(
						"required"=>false,
						"type"=>"CharacteristicSetIDsType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ExternalProductID"=>
					array(
						"required"=>false,
						"type"=>"ExternalProductIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"MaxChildrenPerFamily"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Pagination"=>
					array(
						"required"=>false,
						"type"=>"PaginationType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ProductFinderID"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ProductID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ProductReferenceID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ProductSearchID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"QueryKeywords"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SearchAttributes"=>
					array(
						"required"=>false,
						"type"=>"SearchAttributesType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..*"
					),
				"SortAttributeID"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
